#include "boss.h"

Boss::Boss(int ID, string name, int deptID)
{
    this->ID = ID;
    this->name = name;
    this->deptID = deptID;
}

//显示个人信息
void Boss::showInfo()
{
    cout << "职工编号为：" << ID
        << "\t职工姓名：" << name
        << "\t岗位：" << getDeptName()
        << "\t岗位职责：管理公司所有事物" << endl;
}

//获取岗位名称
string Boss::getDeptName()
{
    return string("总裁");
}